package com.citymanage.demo.service.manager;

import com.citymanage.demo.mapper.person.PersonMapper;
import com.citymanage.demo.mapper.worker.WorkerMapper;
import com.citymanage.demo.po.worker.Worker;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DelWorker {
    @Autowired
    private WorkerMapper workerMapper;
    public void delWorker(int wid){
        workerMapper.del(wid);
    }
}
